<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<t:base type="jquery,easyui,tools,DatePicker"></t:base>
<div class="easyui-layout" fit="true">
  <div region="center" style="padding:0px;border:0px">
  <t:datagrid name="slShipList" checkbox="true" pagination="true" fitColumns="true" title="" sortName="id" actionUrl="slShipController.do?datagrid" idField="id" fit="true" queryMode="group">
   <t:dgCol title="id"  field="id"  hidden="true"  queryMode="group"  width="120"></t:dgCol>
   <t:dgCol title="查找编号"  field="infoid"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="系统编号"  field="sysid"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="单位全称"  field="fullname" query="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="联系人姓名"  field="contacter"   queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="电话"  field="mobile"   queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="起运港"  field="startpost"   queryMode="single"  dictionary="ship_select,startpost,diccode"  popup="true"  width="120"></t:dgCol>
   <t:dgCol title="到达港"  field="stoppost"   queryMode="single"  dictionary="ship_select,stoppost,diccode"  popup="true"  width="120"></t:dgCol>
   <t:dgCol title="船舶类型"  field="shiptype"   queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="吨位"  field="tonnage"   queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="装载配载"  field="loadingstowage"   queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="受载日期"  field="laydays"  formatter="yyyy-MM-dd"   queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="备注"  field="fgmemo"   queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="申请人编号"  field="userid"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="申请时间"  field="reqtime"  hidden="true" formatter="yyyy-MM-dd"   queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="信息来源"  field="infosource"   hidden="true" queryMode="single"  dictionary="REGSOURCE"  width="120"></t:dgCol>
   <t:dgCol title="申请状态"  field="reqstate"  queryMode="group"  dictionary="STANDARDVERIFYSTATUS"  width="120"></t:dgCol>
   <t:dgCol title="租户ID"  field="worktypeid"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="操作" field="opt" width="100"></t:dgCol>
   <t:dgDelOpt title="删除" url="slShipController.do?doDel&id={id}" urlclass="ace_button"  urlfont="fa-trash-o"/>     
   
   
   <c:if test="${type=='list'}">
    	<t:dgToolBar title="查看" icon="icon-search" url="slShipController.do?goUpdate" funname="detail"></t:dgToolBar>
    </c:if>
     <c:if test="${type=='shenpi'}">
   <t:dgToolBar title="查看" icon="icon-search" url="slShipController.do?goUpdate" funname="detail"></t:dgToolBar>
    <t:dgToolBar title="审核" icon="icon-edit" url="slShipController.do?goVerify" funname="verify"></t:dgToolBar>
   </c:if>
    	<%-- <t:dgToolBar title="导入" icon="icon-put" funname="ImportXls"></t:dgToolBar>
    	<t:dgToolBar title="模板下载" icon="icon-putout" funname="ExportXlsByT"></t:dgToolBar> --%>   
  </t:datagrid>
  </div>
 </div>
 <script type="text/javascript">
 $(document).ready(function(){
 });
 
   
 
//导入
function ImportXls() {
	openuploadwin('Excel导入', 'slShipController.do?upload', "slShipList");
}

//导出
function ExportXls() {
	JeecgExcelExport("slShipController.do?exportXls","slShipList");
}

//模板下载
function ExportXlsByT() {
	JeecgExcelExport("slShipController.do?exportXlsByT","slShipList");
}

 </script>
